package Homework3;

import java.util.Scanner;

public class Homework3_1 {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        int n = input.nextInt();
        double[] date = new double[n];
        for (int i = 0; i < n; i++) {
            date[i] = input.nextDouble();
        }
        double sum = 0;
        for (int i = 0; i < n; i++) {
            sum += date[i];
        }
        System.out.println(sum);
    }
}
